package sms.ui.kecheng;

import sms.dao.KeChengDao;
import sms.entry.KeCheng;

import java.util.Scanner;

public class KeChengDelete {
    private static KeChengDao keChengDao = new KeChengDao();
    public static void show(){
        Scanner sc = new Scanner(System.in);
        System.out.println("请输入要删除的课程名字：");
        String km = sc.next();
        KeCheng keCheng = new KeCheng(km);
        keChengDao.delete(keCheng);

    }
}
